# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=rover
pkgver=1.0.1
pkgrel=1
pkgdesc="Rover is a small file browser that aims to be simple, fast and portable"
url="http://lecram.github.io/p/rover/"
arch="all"
license="Public-Domain"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/lecram/rover/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	sed -i 's/PREFIX=\/usr\/local/PREFIX=\/usr/' Makefile
	sed -i 's/MANPREFIX=\$(PREFIX)\/man/MANPREFIX=\$(PREFIX)\/share\/man/' Makefile
}

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
9cac075438fe923064b143650670915bfb8ddad852d58aab451d6ccc4ea1fca15d917834c5cf153e964a3a9cfca08ec0d5263e2516ed44f8c9e5555edd8836d4  rover-1.0.1.tar.gz
"
